<template>
  <div id="container">
    <!-- 地图容器 -->

  </div>
</template>

<script>
export default {
  name: "",
  props: [""],
  data() {
    return {};
  },

  components: {},

  computed: {},

  created() {
    
  },

  mounted() {
    //创建地图实例
    var map = new BMapGL.Map("container");
    var point = new BMapGL.Point(116.279607, 40.0540347);
    map.centerAndZoom(point, 15); 
    map.enableScrollWheelZoom(true);
    // map.setMapType(BMAP_EARTH_MAP);  
  },

  methods: {},
};
</script>
<style scoped>
#container{
    width: 600px;
    height: 500px;
    border: 1px solid red;
}
</style>